﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Playables.IPlayableAsset
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System.Collections.Generic;

#nullable disable
namespace UnityEngine.Playables
{
  public interface IPlayableAsset
  {
    /// <summary>
    ///   <para>Implement this method to have your asset inject playables into the given graph.</para>
    /// </summary>
    /// <param name="graph">The graph to inject playables into.</param>
    /// <param name="owner">The game object which initiated the build.</param>
    /// <returns>
    ///   <para>The playable injected into the graph, or the root playable if multiple playables are injected.</para>
    /// </returns>
    Playable CreatePlayable(PlayableGraph graph, GameObject owner);

    /// <summary>
    ///   <para>Duration in seconds.</para>
    /// </summary>
    double duration { get; }

    /// <summary>
    ///   <para>A description of the PlayableOutputs generated by this asset.</para>
    /// </summary>
    IEnumerable<PlayableBinding> outputs { get; }
  }
}
